package edu.cmu.cs.webapp.ioms.dao;

import java.util.List;

import edu.cmu.cs.webapp.ioms.models.Client;

/**
 * @author Christian
 * 
 */
public interface ClientDAO {
	/**
	 * 
	 * @return
	 */
	public List<Client> getAllClient() throws DataAccessException;

	/**
	 * Creates a new client in the database
	 * 
	 * @return the client_id of the new client
	 */
	public int addClient(Client client) throws DataAccessException;

	/**
	 * Updates a new client in the database
	 * 
	 * @return
	 */
	public boolean updateClient(Client client) throws DataAccessException;

	/**
	 * deletes a new client in the database
	 * 
	 * @return
	 */
	public boolean deleteClient(Client client) throws DataAccessException;
}
